<template>
    <div class="home-container">
        <h1>HOME{{num}}</h1>
      <el-button @click="handleAdd"></el-button>
    </div>
</template>

<script setup name="home">
let num = ref(0)
const {proxy} = getCurrentInstance()

const handleAdd = () => {
  let _ = proxy
  num.value = num.value + 1
}

</script>

<style lang="less" scoped>
@import "index.less";
</style>
